﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="DelegateAuthority.aspx.cs" Inherits="PresentationLayer.DelegateAuthority" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style>
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div align="center">
        <h2>Delegate Authority</h2>
        <br />
        <table class="table-condensed">
            <tr>
                <td> <label class="control-label" for="ddlEmployee">Employee Name</label> </td>
                <td><asp:DropDownList ID="ddlEmployee" CssClass="form-control" AutoPostBack="true" runat="server"></asp:DropDownList></td>

            </tr>
            <tr>
                <td></td>
            </tr>
            <tr>
                <td>
                    <label class="control-label" for="txtStartDate">Start Date</label>
                </td>
                <td>
                    <asp:TextBox ID="txtStartDate" runat="server" Enabled="False" CssClass="form-control" ></asp:TextBox>
                    
                    </td>
                <td>
                    <asp:ImageButton ID="btnStartDate" runat="server" Height="22px" CausesValidation="false"
                            ImageUrl="~/Images/calendar.jpg" OnClick="btnStartDate_Click"  />
                     
            
                </td>
   
            </tr>
            <tr>
                <td>

                </td>
                <td>
                    <asp:Calendar ID="Calendar1" runat="server" for="btnStartDate" Visible="false" OnSelectionChanged="Calendar1_SelectionChanged"></asp:Calendar>
                </td>
            </tr>
            <tr>
                <td>
                    <label class="control-label">Reason</label>
                </td>
                <td>
                     <asp:TextBox ID="txtReason" runat="server" CssClass="form-control" Height="61px" TextMode="MultiLine" Width="231px" ></asp:TextBox>
                </td>
            </tr>
        </table>
      
        <br />
        <asp:Button ID="btnDelegate" runat="server" Text="Delegate" OnClick="btnDelegate_Click" CssClass="btn-primary" />&nbsp;
        <asp:Button ID="btnCancel" runat="server" Text="Cancel" CssClass="btn-success" OnClick="btnCancel_Click" />
        <asp:HiddenField ID="hiddenEmpID" runat="server" />
        <br />
    </div>
    <br />
</asp:Content>
